package MainWindow;

import java.awt.dnd.DnDConstants;
import java.awt.dnd.DragSource;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.util.ArrayList;

import javax.swing.JFileChooser;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.filechooser.FileFilter;

import control.*;

public class ISplitPane {
	
	JPanel leftPanel = new JPanel();
	JPanel rightPanel = new JPanel();	
//	public void addModel(ArrayList<Model> models, JPanel panel) {
//		for (Model i : models) {
//			JPanel p = new JPanel();
//			JLabel lbl = new JLabel(i.getName());
//			p.add(lbl);
//			
//			MyDragGestureListener dlistener = new MyDragGestureListener(); 
//			DragSource ds1 = new DragSource(); 
//			ds1.createDefaultDragGestureRecognizer(lbl,DnDConstants.ACTION_COPY, dlistener);
//			panel.add(p);
//		}
//	}
	
	public JPanel RightPane() {
		return rightPanel;
	}
	public JPanel LeftPane() {
		return leftPanel;
	}

}
